package com.hqyj.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table
public class UserAddress {//用户的地址表
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    private Integer userId;

    private String  recipient;//收件人

    private String address;//地址（省市县）

    private String detailed;//详细地址

    private String phone;//电话

    private String postal;//邮编
}
